Procurement APIs
Saves information about the imported supplier invoice
HTTP method | PUT |
URI | https://api.rambase.net/procurement/imported-invoices/{importedSupplierInvoiceId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {importedSupplierInvoiceId} |
Imported supplier invoice identifier
Integer, minimum 100000 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 2822, version 22 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
ImportedSupplierInvoice
This field is optional.
>ExternalReference
Unique identifier of the file. Used to make sure that the same file is not procesed more than once.
This field is optional.
>{String}</ExternalReference>RegistrationDate
The issue date to the invoice
This field is optional.
>{Date}</RegistrationDate>SuppliersReference
The reference to the imported supplier invoice
This field is optional.
>{String}</SuppliersReference>SuppliersReferenceNumber
Supplier invoice number generated by the supplier invoicing system
This field is optional.
>{String}</SuppliersReferenceNumber>Currency
The currency to the imported supplier invoice
This field is optional.
>{String}</Currency>IsCreditNote
Is the imported invoice from type credit note
This field is optional.
>{Boolean}</IsCreditNote>BuyersContact
This field is optional.
>Name
Name of the RamBase contact (legal entity or person)
This field is optional.
>{String}</Name>Phone
Phone number of the RamBase contact
This field is optional.
>{String}</Phone>E-mail of the RamBase contact
This field is optional.
>{String}</Email>VATAccounting
This field is optional.
>Currency
The currency used for VAT to the imported supplier invoice
This field is optional.
>{String}</Currency>Date
The date when the VAT becomes accountable
This field is optional.
>{Date}</Date>VATAmount
Total amount of VAT in VAT currency on the invoice
This field is optional.
>{Decimal}</VATAmount>VATRegistrationNumber
VAT registration number of the company which should be used for the invoice or credit.
This field is optional.
>{String}</VATRegistrationNumber>Totals
This field is optional.
>FreightAmount
Freight of the invoice
This field is optional.
>{Decimal}</FreightAmount>FeeAmount
Fee of the invoice
This field is optional.
>{Decimal}</FeeAmount>SubTotalAmount
Total net amount on the invoice
This field is optional.
>{Decimal}</SubTotalAmount>VATAmount
Total amount of VAT on the invoice
This field is optional.
>{Decimal}</VATAmount>TotalAmount
Total net amount on the invoice
This field is optional.
>{Decimal}</TotalAmount>RoundOffAmount
The round off to the imported supplier invoice
This field is optional.
>{Decimal}</RoundOffAmount>Payment
This field is optional.
>DueDate
The due date of the imported supplier invoice
This field is optional.
>{Date}</DueDate>AccountName
The bank account name to the payment receiver
This field is optional.
>{String}</AccountName>AccountNumber
The bank account number to the payment receiver
This field is optional.
>{String}</AccountNumber>IBAN
The international bank account number (IBAN) to the payment receiver
This field is optional.
>{String}</IBAN>SWIFTCode
The bank identification code (BIC) to the account to the payment receiver
This field is optional.
>{String}</SWIFTCode>SuppliersReference
The reference to the payment receiver
This field is optional.
>{String}</SuppliersReference>Supplier
This field is optional.
>Name
The name of the supplier
This field is optional.
>{String}</Name>LegalEntityIdentifier
The enterprise number to the supplier
This field is optional.
>{String}</LegalEntityIdentifier>InvoiceAddress
This field is optional.
>Attention
The attention to the supplier
This field is optional.
>{String}</Attention>AddressLine1
The street name to the supplier
This field is optional.
>{String}</AddressLine1>AddressLine2
The additional street name to the supplier
This field is optional.
>{String}</AddressLine2>Region
The state to the supplier
This field is optional.
>{String}</Region>PostalCode
The postal code to the supplier
This field is optional.
>{String}</PostalCode>City
The city to the supplier
This field is optional.
>{String}</City>CountryCode
The country code to the supplier
This field is optional.
>{String}</CountryCode>SupplierReference
The account to the supplier
This field is optional.
>SupplierId
RamBase supplier identifier
Minimum value: 100
This field is optional.
>{Integer}</SupplierId>Contact
This field is optional.
>Name
Name of the suppliers contact (legal entity or person)
This field is optional.
>{String}</Name>Phone
Phone number of the suppliers contact
This field is optional.
>{String}</Phone>E-mail of the suppliers contact
This field is optional.
>{String}</Email>ShippedFrom
This field is optional.
>AddressLine1
The street name to the shipped from address
This field is optional.
>{String}</AddressLine1>AddressLine2
The additional street name to the shipped from address
This field is optional.
>{String}</AddressLine2>PostalCode
The postal code to the shipped from address
This field is optional.
>{String}</PostalCode>City
The city to the shipped from address
This field is optional.
>{String}</City>Region
The state to the shipped from address
This field is optional.
>{String}</Region>CountryCode
The country code to the shipped from address
This field is optional.
>{String}</CountryCode>AddressReferences
The identifier to the shipped from address
This field is optional.
>AddressId
Address identifier
Minimum value: 1
This field is optional.
>{Integer}</AddressId>ShippedTo
This field is optional.
>AddressLine1
The street name of the shipped to address
This field is optional.
>{String}</AddressLine1>AddressLine2
The additional street name of the shipped to address
This field is optional.
>{String}</AddressLine2>PostalCode
The postal code to the shipped to address
This field is optional.
>{String}</PostalCode>City
The city to the shipped to address
This field is optional.
>{String}</City>Region
The state of the shipped to address
This field is optional.
>{String}</Region>CountryCode
The country code to the shipped to address
This field is optional.
>{String}</CountryCode>AddressReference
Reference to the shipped to address. Can be a reference to location address, customer address or supplier address
This field is optional.
>Reference
This field is optional.
>ObjectId
Identifier of the object
Minimum value: 10000
This field is optional.
>{Integer}</ObjectId>ObjectType
Type of object
This field is optional.
>{String}</ObjectType>ItemId
Item-number of the object
Minimum value: 1
This field is optional.
>{Integer}</ItemId>ItemType
Type of item
This field is optional.
>{String}</ItemType>ImportedSupplierInvoice
This field is optional.
": {ExternalReference
Unique identifier of the file. Used to make sure that the same file is not procesed more than once.
This field is optional.
": "{String}",RegistrationDate
The issue date to the invoice
This field is optional.
": "{Date}",SuppliersReference
The reference to the imported supplier invoice
This field is optional.
": "{String}",SuppliersReferenceNumber
Supplier invoice number generated by the supplier invoicing system
This field is optional.
": "{String}",Currency
The currency to the imported supplier invoice
This field is optional.
": "{String}",IsCreditNote
Is the imported invoice from type credit note
This field is optional.
": "{Boolean}",BuyersContact
This field is optional.
": {Name
Name of the RamBase contact (legal entity or person)
This field is optional.
": "{String}",Phone
Phone number of the RamBase contact
This field is optional.
": "{String}",E-mail of the RamBase contact
This field is optional.
": "{String}"VATAccounting
This field is optional.
": {Currency
The currency used for VAT to the imported supplier invoice
This field is optional.
": "{String}",Date
The date when the VAT becomes accountable
This field is optional.
": "{Date}",VATAmount
Total amount of VAT in VAT currency on the invoice
This field is optional.
": "{Decimal}",VATRegistrationNumber
VAT registration number of the company which should be used for the invoice or credit.
This field is optional.
": "{String}"Totals
This field is optional.
": {FreightAmount
Freight of the invoice
This field is optional.
": "{Decimal}",FeeAmount
Fee of the invoice
This field is optional.
": "{Decimal}",SubTotalAmount
Total net amount on the invoice
This field is optional.
": "{Decimal}",VATAmount
Total amount of VAT on the invoice
This field is optional.
": "{Decimal}",TotalAmount
Total net amount on the invoice
This field is optional.
": "{Decimal}",RoundOffAmount
The round off to the imported supplier invoice
This field is optional.
": "{Decimal}"Payment
This field is optional.
": {DueDate
The due date of the imported supplier invoice
This field is optional.
": "{Date}",AccountName
The bank account name to the payment receiver
This field is optional.
": "{String}",AccountNumber
The bank account number to the payment receiver
This field is optional.
": "{String}",IBAN
The international bank account number (IBAN) to the payment receiver
This field is optional.
": "{String}",SWIFTCode
The bank identification code (BIC) to the account to the payment receiver
This field is optional.
": "{String}",SuppliersReference
The reference to the payment receiver
This field is optional.
": "{String}"Supplier
This field is optional.
": {Name
The name of the supplier
This field is optional.
": "{String}",LegalEntityIdentifier
The enterprise number to the supplier
This field is optional.
": "{String}",InvoiceAddress
This field is optional.
": {Attention
The attention to the supplier
This field is optional.
": "{String}",AddressLine1
The street name to the supplier
This field is optional.
": "{String}",AddressLine2
The additional street name to the supplier
This field is optional.
": "{String}",Region
The state to the supplier
This field is optional.
": "{String}",PostalCode
The postal code to the supplier
This field is optional.
": "{String}",City
The city to the supplier
This field is optional.
": "{String}",CountryCode
The country code to the supplier
This field is optional.
": "{String}"SupplierReference
The account to the supplier
This field is optional.
": {SupplierId
RamBase supplier identifier
Minimum value: 100
This field is optional.
": "{Integer}"Contact
This field is optional.
": {Name
Name of the suppliers contact (legal entity or person)
This field is optional.
": "{String}",Phone
Phone number of the suppliers contact
This field is optional.
": "{String}",E-mail of the suppliers contact
This field is optional.
": "{String}"ShippedFrom
This field is optional.
": {AddressLine1
The street name to the shipped from address
This field is optional.
": "{String}",AddressLine2
The additional street name to the shipped from address
This field is optional.
": "{String}",PostalCode
The postal code to the shipped from address
This field is optional.
": "{String}",City
The city to the shipped from address
This field is optional.
": "{String}",Region
The state to the shipped from address
This field is optional.
": "{String}",CountryCode
The country code to the shipped from address
This field is optional.
": "{String}",AddressReferences
The identifier to the shipped from address
This field is optional.
": {AddressId
Address identifier
Minimum value: 1
This field is optional.
": "{Integer}"ShippedTo
This field is optional.
": {AddressLine1
The street name of the shipped to address
This field is optional.
": "{String}",AddressLine2
The additional street name of the shipped to address
This field is optional.
": "{String}",PostalCode
The postal code to the shipped to address
This field is optional.
": "{String}",City
The city to the shipped to address
This field is optional.
": "{String}",Region
The state of the shipped to address
This field is optional.
": "{String}",CountryCode
The country code to the shipped to address
This field is optional.
": "{String}",AddressReference
Reference to the shipped to address. Can be a reference to location address, customer address or supplier address
This field is optional.
": {Reference
This field is optional.
": {ObjectId
Identifier of the object
Minimum value: 10000
This field is optional.
": "{Integer}",ObjectType
Type of object
This field is optional.
": "{String}",ItemId
Item-number of the object
Minimum value: 1
This field is optional.
": "{Integer}",ItemType
Type of item
This field is optional.
": "{String}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showCustomFields Boolean, optional | Set to "true" to include custom fields. Default value is false. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 101079 HTTP 400 | Mismatch in size of revision parameters |